|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Common.DefaultClanPosition
public class DefaultClanPosition
| Field Summary | |
|---|---|
protected Clan.Authority[] |
functionChart
a chart of whether this position can perform the indexed function in this government |
protected java.lang.String |
ID
the named ID of the position |
protected java.lang.String |
innerMaskStr
the internal zapper mask for internal requirements to this position |
protected boolean |
isPublic
the internal zapper mask for internal requirements to this position |
protected int |
max
the maximum number of members that can hold this position |
protected java.lang.String |
name
the name of the position within this government |
protected java.lang.String |
pluralName
the plural name of the position within this government |
protected int |
rank
the ordered rank of the position |
protected int |
roleID
the named ID of the position |
| Constructor Summary | |
|---|---|
DefaultClanPosition()
|
|
| Method Summary | |
|---|---|
int |
compareTo(CMObject o)
|
CMObject |
copyOf()
Similar to Cloneable.clone(), but does its best to make sure that any internal objects to this class are also copyOfed. |
Clan.Authority[] |
getFunctionChart()
Gets the function chart. |
java.lang.String |
getID()
Gets the iD. |
java.lang.String |
getInnerMaskStr()
Gets the inner mask str. |
int |
getMax()
Gets the max. |
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getPluralName()
Gets the plural name. |
int |
getRank()
Gets the rank. |
int |
getRoleID()
Gets the role id. |
int |
getSaveStatIndex()
Returns the index into the stat codes array where extra savable fields begins. |
java.lang.String |
getStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String[] |
getStatCodes()
Returns an array of the string names of those fields which are modifiable on this object at run-time by builders. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
void |
initializeClass()
Called ONCE after all objects are loaded, but before the map is read in during initialization. |
boolean |
isPublic()
Checks if is public. |
boolean |
isStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String |
name()
The displayable name of this object. |
CMObject |
newInstance()
return a new instance of the object |
void |
setFunctionChart(Clan.Authority[] functionChart)
Sets the function chart. |
void |
setID(java.lang.String iD)
Sets the iD. |
void |
setInnerMaskStr(java.lang.String innerMaskStr)
Sets the inner mask str. |
void |
setMax(int max)
Sets the max. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setPluralName(java.lang.String pluralName)
Sets the plural name. |
void |
setPublic(boolean isPublic)
Sets the public. |
void |
setRank(int rank)
Sets the rank. |
void |
setRoleID(int roleID)
Sets the role id. |
void |
setStat(java.lang.String code,
java.lang.String val)
An alternative means of setting the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String ID
protected int roleID
protected int rank
protected java.lang.String name
protected java.lang.String pluralName
protected int max
protected java.lang.String innerMaskStr
protected boolean isPublic
protected Clan.Authority[] functionChart
| Constructor Detail |
|---|
public DefaultClanPosition()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectpublic java.lang.String name()
CMObject
name in interface CMObjectEnvironmental.Name()public CMObject newInstance()
newInstance in interface CMObjectpublic void initializeClass()
CMObject
initializeClass in interface CMObjectpublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public CMObject copyOf()
CMObject
copyOf in interface CMObjectpublic java.lang.String getID()
ClanPosition
getID in interface ClanPositionClanPosition.setID(String)public void setID(java.lang.String iD)
ClanPosition
setID in interface ClanPositioniD - the new iDClanPosition.getID()public int getRoleID()
ClanPosition
getRoleID in interface ClanPositionClanPosition.setRoleID(int)public void setRoleID(int roleID)
ClanPosition
setRoleID in interface ClanPositionroleID - the new role idClanPosition.getRoleID()public int getRank()
ClanPosition
getRank in interface ClanPositionClanPosition.setRank(int)public void setRank(int rank)
ClanPosition
setRank in interface ClanPositionrank - the new rankClanPosition.getRank()public java.lang.String getName()
ClanPosition
getName in interface ClanPositionClanPosition.setName(String)public void setName(java.lang.String name)
ClanPosition
setName in interface ClanPositionname - the new nameClanPosition.getName()public java.lang.String getPluralName()
ClanPosition
getPluralName in interface ClanPositionClanPosition.setPluralName(String)public void setPluralName(java.lang.String pluralName)
ClanPosition
setPluralName in interface ClanPositionpluralName - the new plural nameClanPosition.getPluralName()public int getMax()
ClanPosition
getMax in interface ClanPositionClanPosition.setMax(int)public void setMax(int max)
ClanPosition
setMax in interface ClanPositionmax - the new maxClanPosition.getMax()public java.lang.String getInnerMaskStr()
ClanPosition
getInnerMaskStr in interface ClanPositionClanPosition.setInnerMaskStr(String)public void setInnerMaskStr(java.lang.String innerMaskStr)
ClanPosition
setInnerMaskStr in interface ClanPositioninnerMaskStr - the new inner mask strClanPosition.getInnerMaskStr()public boolean isPublic()
ClanPosition
isPublic in interface ClanPositionClanPosition.setPublic(boolean)public void setPublic(boolean isPublic)
ClanPosition
setPublic in interface ClanPositionisPublic - the new publicClanPosition.isPublic()public Clan.Authority[] getFunctionChart()
ClanPosition
getFunctionChart in interface ClanPositionClanPosition.setFunctionChart(com.planet_ink.coffee_mud.Common.interfaces.Clan.Authority[])public void setFunctionChart(Clan.Authority[] functionChart)
ClanPosition
setFunctionChart in interface ClanPositionfunctionChart - the new function chartClanPosition.getFunctionChart()public java.lang.String[] getStatCodes()
Modifiable
getStatCodes in interface ModifiableModifiable.getStat(String),
Modifiable.setStat(String, String)public int getSaveStatIndex()
Modifiable
getSaveStatIndex in interface ModifiableModifiable.getStatCodes(),
Modifiable.getStat(String),
Modifiable.setStat(String, String)public java.lang.String getStat(java.lang.String code)
Modifiable
getStat in interface Modifiablecode - the name of the field to read.
Modifiable.getStatCodes()public boolean isStat(java.lang.String code)
Modifiable
isStat in interface Modifiablecode - the name of the field to read.
Modifiable.getStatCodes()
public void setStat(java.lang.String code,
java.lang.String val)
Modifiable
setStat in interface Modifiablecode - the name of the field to setval - the value to set the field toModifiable.getStatCodes()public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||