|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.resource.ResourceEntry
An entry for a Resource.
Supported API: false
Extendable: false
Field Summary | |
private String[] |
argComments
|
private String |
category
|
private static String |
CLASSNAME
|
private String |
comment
|
private String |
constant
|
private boolean |
customizable
|
private boolean |
deprecated
|
private String |
key
|
private static Vector |
knownAttributes
|
private ResourceValue |
owningValue
|
private static String |
RESOURCE
|
protected static String |
SEP_CHAR
|
Constructor Summary | |
ResourceEntry()
|
Method Summary | |
private void |
categoryValidate(String a_Category)
|
Object |
clone()
Supported API: false |
private void |
commentValidate(String a_Comment)
|
private void |
constantValidate(String a_Constant)
|
static boolean |
equal(Object obj1,
Object obj2)
|
boolean |
equals(Object obj)
|
protected static boolean |
equivalent(String obj1,
String obj2)
|
protected String |
get(Dictionary source,
String attribute)
|
String[] |
getArgComments()
Gets the value of the attribute: argComments; Descriptions of the arguments that may be embedded in the entry's value (message). |
String |
getCategory()
Gets the value of the attribute: category; Non-localizable category of the entry. |
String |
getComment()
Gets the value of the attribute: comment; Non-localizable description of the entry. |
String |
getConstant()
Gets the value of the attribute: constant; The (optional) constant field name for the entry. |
protected Dictionary |
getExtraProperties(Dictionary source)
|
String |
getKey()
Gets the value of the attribute: key; Internal key for the entry. |
protected ResourceValue |
getOwningValue()
Gets the object for the association that plays role: owningValue. |
protected void |
initialize(String a_Key,
ResourceValue owner)
Supported API: false |
boolean |
isCustomizable()
Gets the value of the attribute: customizable; Specifies if this resource entry can be customized. |
boolean |
isDeprecated()
Gets the value of the attribute: deprecated; Specifies if this resource entry is deprecated. |
private void |
keyValidate(String a_Key)
|
protected void |
load(Dictionary source,
String owner)
Load the state of this instance from the source. |
(package private) static ResourceEntry |
newResourceEntry(String a_Key,
ResourceValue owner)
Supported API: false |
void |
setArgComments(String[] a_ArgComments)
Sets the value of the attribute: argComments; Descriptions of the arguments that may be embedded in the entry's value (message). |
void |
setCategory(String a_Category)
Sets the value of the attribute: category; Non-localizable category of the entry. |
void |
setComment(String a_Comment)
Sets the value of the attribute: comment; Non-localizable description of the entry. |
void |
setConstant(String a_Constant)
Sets the value of the attribute: constant; The (optional) constant field name for the entry. |
void |
setCustomizable(boolean a_Customizable)
Sets the value of the attribute: customizable; Specifies if this resource entry can be customized. |
void |
setDeprecated(boolean a_Deprecated)
Sets the value of the attribute: deprecated; Specifies if this resource entry is deprecated. |
protected void |
setKey(String a_Key)
Sets the value of the attribute: key; Internal key for the entry. |
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String key
private String category
private String comment
private String[] argComments
private String constant
private boolean customizable
private boolean deprecated
private ResourceValue owningValue
protected static final String SEP_CHAR
private static final Vector knownAttributes
Constructor Detail |
public ResourceEntry()
Method Detail |
public String getKey()
protected void setKey(String a_Key) throws WTPropertyVetoException
a_Key
-
WTPropertyVetoException
private void keyValidate(String a_Key) throws WTPropertyVetoException
a_Key
-
WTPropertyVetoException
public String getCategory()
public void setCategory(String a_Category) throws WTPropertyVetoException
a_Category
-
WTPropertyVetoException
private void categoryValidate(String a_Category) throws WTPropertyVetoException
a_Category
-
WTPropertyVetoException
public String getComment()
public void setComment(String a_Comment) throws WTPropertyVetoException
a_Comment
-
WTPropertyVetoException
private void commentValidate(String a_Comment) throws WTPropertyVetoException
a_Comment
-
WTPropertyVetoException
public String[] getArgComments()
public void setArgComments(String[] a_ArgComments) throws WTPropertyVetoException
a_ArgComments
-
WTPropertyVetoException
public String getConstant()
public void setConstant(String a_Constant) throws WTPropertyVetoException
a_Constant
-
WTPropertyVetoException
private void constantValidate(String a_Constant) throws WTPropertyVetoException
a_Constant
-
WTPropertyVetoException
public boolean isCustomizable()
public void setCustomizable(boolean a_Customizable) throws WTPropertyVetoException
a_Customizable
-
WTPropertyVetoException
public boolean isDeprecated()
public void setDeprecated(boolean a_Deprecated)
a_Deprecated
- protected ResourceValue getOwningValue()
static ResourceEntry newResourceEntry(String a_Key, ResourceValue owner) throws WTPropertyVetoException
a_Key
- owner
-
WTPropertyVetoException
protected void initialize(String a_Key, ResourceValue owner) throws WTPropertyVetoException
a_Key
- owner
-
WTPropertyVetoException
protected void load(Dictionary source, String owner) throws WTPropertyVetoException
source
- owner
-
WTPropertyVetoException
public Object clone()
protected String get(Dictionary source, String attribute)
protected Dictionary getExtraProperties(Dictionary source)
public boolean equals(Object obj)
public static boolean equal(Object obj1, Object obj2)
protected static boolean equivalent(String obj1, String obj2)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |