|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.rules.factory.translation.IlrAttributeTranslation
public class IlrAttributeTranslation
Attribute translation. An attribute translation can provide a translation for when the attribute is get or set.
| Constructor Summary | |
|---|---|
IlrAttributeTranslation()
|
|
| Method Summary | |
|---|---|
IlrBody |
getGetter()
Returns the getter of the attribute. |
String |
getName()
Gets the name of the attribute. |
IlrBody |
getSetter()
Returns the setter of the attribute. |
boolean |
isTranslated()
Returns true if the attribute is to be translated. |
void |
setGetter(IlrBody getter)
Sets the getter of the attribute. |
void |
setName(String name)
Sets the name of the attribute. |
void |
setSetter(IlrBody setter)
Sets the setter of the attribute. |
void |
setTranslated(boolean translated)
Sets whether this attribute should be translated or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlrAttributeTranslation()
| Method Detail |
|---|
public IlrBody getGetter()
this can be used to refer to the current object.
null.public void setGetter(IlrBody getter)
getter - The getter of the attribute. It may be null.for an explanation of getters.public IlrBody getSetter()
this can be used to refer to the current object.
null.public void setSetter(IlrBody setter)
setter - The setter of the attribute. It may be null.for an explanation of setters.public String getName()
public void setName(String name)
name - The name of the attribute.public boolean isTranslated()
true if the attribute is to be translated.
An attribute that is not translated will not produce errors when
translations are checked, but will produce an error if it is used
in a ruleset being translated.
public void setTranslated(boolean translated)
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||