com.wewebu.ow.server.app
Class OwScript

java.lang.Object
  extended by com.wewebu.ow.server.app.OwScript

public class OwScript
extends Object

Object representation of a JavaScript snippet. It contains the string representing of the script and a priority used for ordering multiple scripts when generating a JavaScript block.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.0.0.0

Field Summary
static int DEFAULT_PRIORITY
           
 
Constructor Summary
OwScript(String script_p)
           
OwScript(String script_p, int priority_p)
           
 
Method Summary
 boolean equals(Object object_p)
           
 int getPriority()
           
 String getScript()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PRIORITY

public static final int DEFAULT_PRIORITY
See Also:
Constant Field Values
Constructor Detail

OwScript

public OwScript(String script_p)

OwScript

public OwScript(String script_p,
                int priority_p)
Method Detail

getScript

public String getScript()

getPriority

public int getPriority()

equals

public boolean equals(Object object_p)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.