|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IField
A Field for an AbstractArtifact
Field Summary | |
---|---|
static int |
NON_APPLICABLE
Static integer value for non-applicable reference type. |
static int |
REFBY_KEY
Static integer value for Ref By Key type. |
static int |
REFBY_KEYRESULT
Static integer value for Ref By Key Result type. |
static int |
REFBY_VALUE
Static integer value for Ref By Value type. |
static java.lang.String[] |
refByLabels
String values corresponding to the refBy types |
Fields inherited from interface org.eclipse.tigerstripe.model.IModelComponent |
---|
VISIBILITY_PACKAGE, VISIBILITY_PRIVATE, VISIBILITY_PROTECTED, VISIBILITY_PUBLIC |
Method Summary | |
---|---|
IField |
clone()
Clones this Field. |
IAbstractArtifact |
getContainingArtifact()
Returns the IArtifact that is the "container" for the Field. |
java.lang.String |
getDefaultValue()
Returns the default value for this field if it exists, null otherwise. |
IType |
getIType()
|
java.lang.String |
getLabelString()
|
int |
getRefBy()
Returns an integer value indicating the reference type of the field. |
java.lang.String |
getRefByString()
Returns an String value indicating the reference type of the field. |
boolean |
isOptional()
Returns a boolean indicating if this field is optional or mandatory. |
boolean |
isOrdered()
Returns a boolean indicating if this field is ordered (multiplicity > 1). |
boolean |
isReadOnly()
Returns a boolean indicating if this field is read-only. |
boolean |
isUnique()
Returns a boolean indicating if this field contains unique values (multiplicity > 1). |
IType |
makeIType()
|
void |
setDefaultValue(java.lang.String value)
|
void |
setIType(IType type)
|
void |
setOptional(boolean optional)
|
void |
setOrdered(boolean isOrdered)
|
void |
setReadOnly(boolean readonly)
|
void |
setRefBy(int refBy)
|
void |
setUnique(boolean isUnique)
|
java.util.List<org.eclipse.tigerstripe.internal.api.utils.TigerstripeError> |
validate()
|
Methods inherited from interface org.eclipse.tigerstripe.model.IModelComponent |
---|
addStereotypeInstance, getComment, getName, getVisibility, isInActiveFacet, removeStereotypeInstance, removeStereotypeInstances, setComment, setName, setVisibility |
Methods inherited from interface org.eclipse.tigerstripe.profile.stereotype.IStereotypeCapable |
---|
getStereotypeInstances |
Field Detail |
---|
static final int NON_APPLICABLE
static final int REFBY_KEY
static final int REFBY_KEYRESULT
static final int REFBY_VALUE
static final java.lang.String[] refByLabels
Method Detail |
---|
void setRefBy(int refBy)
void setIType(IType type)
void setDefaultValue(java.lang.String value)
IType makeIType()
IType getIType()
java.lang.String getLabelString()
void setOptional(boolean optional)
void setReadOnly(boolean readonly)
void setOrdered(boolean isOrdered)
void setUnique(boolean isUnique)
java.util.List<org.eclipse.tigerstripe.internal.api.utils.TigerstripeError> validate()
IField clone()
IAbstractArtifact getContainingArtifact()
java.lang.String getDefaultValue()
int getRefBy()
java.lang.String getRefByString()
boolean isOptional()
boolean isOrdered()
boolean isReadOnly()
boolean isUnique()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |