Class Property
java.lang.Object
dev.getelements.elements.rt.manifest.model.Property
- All Implemented Interfaces:
Serializable
Created by patricktwohig on 8/16/17.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the description of thisProperty
.getModel()
Gets the model name, if this is a complex type.getName()
Gets the name of this property.getType()
The type of this property.int
hashCode()
void
setDescription
(String description) Sets the description of thisProperty
.void
Sets the model name.void
Sets the name of this Property.void
Sets the type of this property.toString()
-
Constructor Details
-
Property
public Property()
-
-
Method Details
-
getName
Gets the name of this property.- Returns:
- the name
-
setName
Sets the name of this Property.- Parameters:
name
- the name
-
getDescription
Gets the description of thisProperty
.- Returns:
- the description
-
setDescription
Sets the description of thisProperty
.- Parameters:
description
- the description
-
getType
The type of this property.- Returns:
- the type.
-
setType
Sets the type of this property.- Parameters:
type
- the type
-
getModel
Gets the model name, if this is a complex type. (egType.ARRAY
orType.OBJECT
) such that it may property reference another model in the manifest. THis corresponds to the values ofModel.getName()
and the key inModelManifest.getModelsByName()
.- Returns:
-
setModel
Sets the model name.- Parameters:
model
- the model name.
-
equals
-
hashCode
public int hashCode() -
toString
-