com.flexive.shared
Class FxPhrase

java.lang.Object
  extended by com.flexive.shared.FxPhrase
All Implemented Interfaces:
java.io.Serializable

public class FxPhrase
extends java.lang.Object
implements java.io.Serializable

Phrase implementation

Author:
Markus Plesser (markus.plesser@ucs.at), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Constructor Summary
FxPhrase(long mandator, java.lang.String key, FxString fxValue, FxString fxTag)
           
FxPhrase(long mandator, java.lang.String key, FxString fxValue, java.lang.String tag)
           
FxPhrase(long mandator, java.lang.String key, java.lang.String value, java.lang.String tag)
           
FxPhrase(java.lang.String key, FxString fxValue, FxString fxTag)
           
FxPhrase(java.lang.String key, FxString fxValue, java.lang.String tag)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 FxPhrase flagCategory(int category)
           
 FxPhrase flagHidden(boolean hidden)
           
 long getAssignmentMandator()
           
 int getCategory()
           
 FxString getFxTag()
           
 long getId()
           
 java.lang.String getKey()
           
 long getMandator()
           
 int getPosition()
           
 java.lang.String getSingleValue()
           
 java.lang.String getTag()
           
 FxString getValue()
           
 boolean hasAssignmentMandator()
           
 boolean hasId()
           
 boolean hasPosition()
           
 boolean hasTag()
           
 boolean hasValue()
           
 boolean isDefaultCategory()
           
 boolean isHidden()
           
 FxPhrase save()
           
 FxPhrase setAssignmentMandator(long assignmentMandator)
           
 void setCategory(int category)
           
 void setFxTag(FxString fxTag)
           
 void setHidden(boolean hidden)
           
 FxPhrase setId(long id)
           
 void setKey(java.lang.String key)
           
 FxPhrase setPosition(int position)
           
 void setTag(java.lang.String tag)
           
 void setValue(FxString value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FxPhrase

public FxPhrase(java.lang.String key,
                FxString fxValue,
                java.lang.String tag)

FxPhrase

public FxPhrase(java.lang.String key,
                FxString fxValue,
                FxString fxTag)

FxPhrase

public FxPhrase(long mandator,
                java.lang.String key,
                FxString fxValue,
                java.lang.String tag)

FxPhrase

public FxPhrase(long mandator,
                java.lang.String key,
                FxString fxValue,
                FxString fxTag)

FxPhrase

public FxPhrase(long mandator,
                java.lang.String key,
                java.lang.String value,
                java.lang.String tag)
Method Detail

getMandator

public long getMandator()

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

getValue

public FxString getValue()

getSingleValue

public java.lang.String getSingleValue()

hasValue

public boolean hasValue()

setValue

public void setValue(FxString value)

getTag

public java.lang.String getTag()

getFxTag

public FxString getFxTag()

setTag

public void setTag(java.lang.String tag)

setFxTag

public void setFxTag(FxString fxTag)

hasTag

public boolean hasTag()

getId

public long getId()

setId

public FxPhrase setId(long id)

hasId

public boolean hasId()

setAssignmentMandator

public FxPhrase setAssignmentMandator(long assignmentMandator)

getAssignmentMandator

public long getAssignmentMandator()

hasAssignmentMandator

public boolean hasAssignmentMandator()

getPosition

public int getPosition()

setPosition

public FxPhrase setPosition(int position)

hasPosition

public boolean hasPosition()

isHidden

public boolean isHidden()

setHidden

public void setHidden(boolean hidden)

flagHidden

public FxPhrase flagHidden(boolean hidden)

setCategory

public void setCategory(int category)

flagCategory

public FxPhrase flagCategory(int category)

getCategory

public int getCategory()

isDefaultCategory

public boolean isDefaultCategory()

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

save

public FxPhrase save()
              throws FxNoAccessException
Throws:
FxNoAccessException