Type-definition is a child element of process type providing a URI linking to
the configuration of a user-defined type for the process type.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new type definition.TypeDefinition(Field field) Constructs a new type definition from a field entity.TypeDefinition(Linkable<Field> field) Constructs a new type definition from a linkable field.TypeDefinition(URI uri) Constructs a new type definition with the specified URI.TypeDefinition(URI uri, String name) Constructs a new type definition with the specified URI and name. -
Method Summary
Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
uri
The URI of the field. -
name
The name of the field.
-
-
Constructor Details
-
TypeDefinition
public TypeDefinition()Constructs a new type definition. -
TypeDefinition
Constructs a new type definition with the specified URI.- Parameters:
uri- the URI of the field.
-
TypeDefinition
Constructs a new type definition with the specified URI and name.- Parameters:
uri- the URI of the field.name- the name of the field.
-
TypeDefinition
Constructs a new type definition from a linkable field.- Parameters:
field- the linkable field.
-
TypeDefinition
Constructs a new type definition from a field entity.- Parameters:
field- the field entity.
-
-
Method Details
-
getEntityClass
Gets the entity class for this link.- Returns:
- the Field class.
-
getName
Gets the name of the field.- Returns:
- the field name.
-
setName
Sets the name of the field.- Parameters:
name- the field name.
-
getUri
Gets the URI of the field.- Returns:
- the field URI.
-
setUri
Sets the URI of the field.- Parameters:
uri- the field URI.
-
toString
Returns a string representation of this type definition.- Overrides:
toStringin classLimsLinkBase<Field>- Returns:
- The field URI and name.
- See Also:
-