Package com.helger.regrep.rim
Class SlotType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.SlotType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class SlotType extends ExtensibleObjectType
Represents an extensible attribute that may be dynamically added to any ExtensibleObjectType instance. It is an important extensibility mechanism with ebRIM. A SlotType instance contains a name and a value. The value may be of any type.Java class for SlotType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SlotType"> <complexContent> <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ExtensibleObjectType"> <sequence> <element name="SlotValue" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ValueType" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}LongText" /> <attribute name="type" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}LongText" /> </extension> </complexContent> </complexType>This class was annotated by ph-jaxb-plugin -Xph-annotate
This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb-plugin -Xph-tostring
This class contains methods created by ph-jaxb-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb-plugin -Xph-value-extender
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlotType()Default constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlotTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(SlotType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeStringgetName()Gets the value of the name property.ValueTypegetSlotValue()Gets the value of the slotValue property.StringgetType()Gets the value of the type property.inthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodevoidsetName(String value)Sets the value of the name property.voidsetSlotValue(ValueType value)Sets the value of the slotValue property.voidsetType(String value)Sets the value of the type property.StringtoString()Created by ph-jaxb-plugin -Xph-tostring-
Methods inherited from class com.helger.regrep.rim.ExtensibleObjectType
addSlot, cloneTo, getSlot, getSlotAtIndex, getSlotCount, hasNoSlotEntries, hasSlotEntries, setSlot
-
-
-
-
Method Detail
-
getSlotValue
@Nullable public ValueType getSlotValue()
Gets the value of the slotValue property.- Returns:
- possible object is
ValueType
-
setSlotValue
public void setSlotValue(@Nullable ValueType value)
Sets the value of the slotValue property.- Parameters:
value- allowed object isValueType
-
getName
@Nullable public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(@Nullable String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
@Nullable public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(@Nullable String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
equalsin classExtensibleObjectType
-
hashCode
public int hashCode()
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
hashCodein classExtensibleObjectType
-
toString
public String toString()
Created by ph-jaxb-plugin -Xph-tostring- Overrides:
toStringin classExtensibleObjectType
-
cloneTo
public void cloneTo(@Nonnull SlotType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public SlotType clone()
Created by ph-jaxb-plugin -Xph-cloneable2- Specified by:
clonein interfacecom.helger.commons.lang.IExplicitlyCloneable- Specified by:
clonein classExtensibleObjectType- Returns:
- The cloned object. Never
null.
-
-