|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteSlotDescription
Describes a slot's properties as given by the corresponding object type definition.
Field Summary |
---|
Fields inherited from interface com.centrasite.jaxr.type.CentraSiteAttribute |
---|
MAXOCCURS_1, MAXOCCURS_UNBOUNDED, MINOCCURS_0, MINOCCURS_1 |
Method Summary | |
---|---|
void |
addTriggerDescription(CentraSiteTriggerDescription trigger)
Deprecated. |
void |
checkValidLocalName(java.lang.String value,
java.util.Locale lc)
Check string whether a valid local name for a type definition |
void |
checkValidValue(java.lang.String value)
Check string whether a valid value for this slot |
void |
clearTriggers()
Deprecated. |
java.lang.String |
getDataType()
Return the data type which is an XML schema type |
java.lang.String |
getDisplayName()
Return the attribute's display name. |
java.lang.String[] |
getEnumValues()
Get enumeration values. |
java.lang.String |
getLocalName()
Get the slot local name (no namespace). |
java.lang.String |
getName()
Return the slot name as {uri}local-name |
int |
getPrecision()
Get the precision for a "number" slot. |
java.util.Collection |
getTriggerDescriptions()
Deprecated. |
java.lang.String |
getUnitLabel()
Return this slot's unit label. |
boolean |
hasTriggers()
Deprecated. |
boolean |
hasValidInputFields()
Are the input fields valid? |
boolean |
isFullySpecified()
Is the slot fully specified? |
boolean |
isIndexed()
Return whether a database index is defined for this slot |
boolean |
isLongString()
Return whether the LongString option is set |
boolean |
isPrefix()
Return whether this slot's unit label is a prefix or suffix value. |
boolean |
isRequired()
Returns the isRequired setting which says whether the attribute is required |
boolean |
isSystemDefined()
Return whether this slot is system defined. |
boolean |
isUsed()
Return whether this slot is used by at least one instance of the corresponding type. |
void |
setDataType(java.lang.String type)
Set the data type. |
void |
setDisplayName(java.lang.String displayName)
Set the attribute's display name. |
void |
setEnumValues(java.lang.String[] enumValues)
Set enumeration values. |
void |
setIndexed(boolean indexed)
Set this slot's indexed option. |
void |
setLongString(boolean longString)
Set the LongString option. |
void |
setName(java.lang.String name)
Set the slot name. |
void |
setPrecision(int precision)
Set the precision for a "number" slot. |
void |
setPrefix(boolean prefix)
Specify whether this slot's unit label is to be a prefix or suffix value. |
void |
setRequired(boolean isRequired)
Sets the isRequired value. |
void |
setSystemDefined(boolean systemDefined)
Set this slot's system defined option. |
void |
setUnitLabel(java.lang.String unitLabel)
Set this slot's unit label. |
java.lang.String |
toXML()
Get XML representation (schema). |
Methods inherited from interface com.centrasite.jaxr.type.CentraSiteAttribute |
---|
getDefaultValue, getDescription, getMaxOccurs, getMinOccurs, hasDefaultValue, isReadOnly, setDefaultValue, setDescription, setMaxOccurs, setMinOccurs, setReadOnly |
Method Detail |
---|
java.lang.String getName()
getName
in interface CentraSiteAttribute
void setName(java.lang.String name)
setName
in interface CentraSiteAttribute
name
- the slot namejava.lang.String getLocalName()
getLocalName
in interface CentraSiteAttribute
void setDisplayName(java.lang.String displayName)
displayName
- the attribute's display namejava.lang.String getDisplayName()
getDisplayName
in interface CentraSiteAttribute
java.lang.String getDataType()
void setDataType(java.lang.String type)
type
- the data typejava.lang.String[] getEnumValues()
void setEnumValues(java.lang.String[] enumValues)
enumValues
- enumeration valuesvoid clearTriggers()
boolean hasTriggers()
void addTriggerDescription(CentraSiteTriggerDescription trigger)
trigger
- trigger to addjava.util.Collection getTriggerDescriptions()
java.lang.String toXML() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
boolean hasValidInputFields()
boolean isFullySpecified()
void checkValidLocalName(java.lang.String value, java.util.Locale lc) throws java.lang.Exception
value
- the string to be checked
java.lang.Exception
void checkValidValue(java.lang.String value) throws java.lang.Exception
value
- the string to be checked
java.lang.Exception
boolean isSystemDefined()
isSystemDefined
in interface CentraSiteAttribute
void setSystemDefined(boolean systemDefined)
systemDefined
- true if this slot is system definedboolean isIndexed()
void setIndexed(boolean indexed)
indexed
- true if a database index is to be created for this slotvoid setUnitLabel(java.lang.String unitLabel)
unitLabel
- the unit labeljava.lang.String getUnitLabel()
void setPrefix(boolean prefix)
prefix
- true if the unit label is a prefix, false for suffix.boolean isPrefix()
boolean isUsed() throws javax.xml.registry.JAXRException
isUsed
in interface CentraSiteAttribute
javax.xml.registry.JAXRException
void setPrecision(int precision) throws javax.xml.registry.JAXRException
precision
- the precision
javax.xml.registry.JAXRException
int getPrecision() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
boolean isLongString()
void setLongString(boolean longString)
longString
- true if the LongString option is to be setboolean isRequired()
isRequired
in interface CentraSiteAttribute
void setRequired(boolean isRequired)
setRequired
in interface CentraSiteAttribute
isRequired
- the isRequired value to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |