|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.preferences.templates.ISeriesTemplate
public class ISeriesTemplate
A template consiting of a name and a pattern.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
ISeriesTemplate()
Creates an empty template. |
|
ISeriesTemplate(ISeriesTemplate template)
Creates a copy of a template. |
|
ISeriesTemplate(String name,
String description,
String contextTypeName,
String pattern)
Creates a template. |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
String |
getContextTypeName()
Returns the name of the context type in which the template can be applied. |
String |
getDescription()
Returns the description of the template. |
String |
getName()
Returns the name of the template. |
String |
getPattern()
Returns the template pattern. |
int |
hashCode()
|
boolean |
isEnabled()
Returns true if template is enabled, false otherwise. |
boolean |
matches(String prefix,
String contextTypeName)
Returns true if template matches the prefix and context,
false otherwise. |
void |
setContext(String contextTypeName)
Sets the name of the context type in which the template can be applied. |
void |
setDescription(String description)
Sets the description of the template. |
void |
setEnabled(boolean enable)
Sets the enable state of the template. |
void |
setName(String name)
Sets the name of the template. |
void |
setPattern(String pattern)
Sets the pattern of the template. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public ISeriesTemplate()
public ISeriesTemplate(ISeriesTemplate template)
public ISeriesTemplate(String name, String description, String contextTypeName, String pattern)
name
- the name of the template.description
- the description of the template.contextTypeName
- the name of the context type in which the template can be applied.pattern
- the template pattern.Method Detail |
---|
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setDescription(String description)
public String getDescription()
public void setContext(String contextTypeName)
public String getContextTypeName()
public void setName(String name)
public String getName()
public void setPattern(String pattern)
public String getPattern()
public void setEnabled(boolean enable)
public boolean isEnabled()
true
if template is enabled, false
otherwise.
public boolean matches(String prefix, String contextTypeName)
true
if template matches the prefix and context,
false
otherwise.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |