java.lang.Object
com.genologics.ri.userdefined.UDT
- All Implemented Interfaces:
UDFHolder,Serializable
Type is the name and user-defined fields of a user-defined type.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a UDF to this user-defined type.Adds a UDF to this user-defined type.Gets the list of fields in this user-defined type.getName()Gets the name of the user-defined type.Replicates getFields but allows the UDT to be used by the UDF static helper methods.voidSets the name of the user-defined type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.genologics.ri.userdefined.UDFHolder
getUDF, getUDF, getUDF, getUdfs, getUDFs, getUDFValue, getUDFValue, getUDFValue, getUDFValue, setUDF
-
Field Details
-
fields
The list of user-defined fields in this type. -
name
The name of the user-defined type.
-
-
Constructor Details
-
UDT
public UDT()Default constructor. -
UDT
Constructor with name.- Parameters:
name- The name of the user-defined type.
-
-
Method Details
-
getFields
Gets the list of fields in this user-defined type.- Returns:
- The list of UDF fields.
-
getUserDefinedFields
Replicates getFields but allows the UDT to be used by the UDF static helper methods.- Specified by:
getUserDefinedFieldsin interfaceUDFHolder- Returns:
- A list of UDFs on this type.
-
addField
Adds a UDF to this user-defined type.- Parameters:
udf- The UDF to add.- Returns:
- The added UDF.
-
addField
Adds a UDF to this user-defined type.- Parameters:
name- The name of the field.type- The type of the field.value- The value of the field.- Returns:
- The added UDF.
-
getName
Gets the name of the user-defined type.- Returns:
- The name of the user-defined type.
-
setName
Sets the name of the user-defined type.- Parameters:
value- The name to set.
-