public static class StructuralMetadata.ClassType
extends java.lang.Object
| Constructor and Description |
|---|
ClassType(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.util.ArrayList<StructuralMetadata.Property> properties)
Constructor of the class definition
|
| Modifier and Type | Method and Description |
|---|---|
StructuralMetadata.Property |
addProperty(java.lang.String name,
java.lang.Class<?> type)
Add a new property with specified type
|
StructuralMetadata.Property |
addProperty(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.Class<?> type) |
StructuralMetadata.Property |
addProperty(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.Class<?> type,
boolean normalized) |
StructuralMetadata.Property |
addProperty(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.Class<?> type,
boolean normalized,
java.lang.Integer count) |
StructuralMetadata.Property |
addProperty(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
StructuralMetadata.EnumType type,
boolean array) |
StructuralMetadata.Property |
addProperty(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
StructuralMetadata.EnumType type,
boolean array,
java.lang.Integer count) |
StructuralMetadata.Property |
addProperty(java.lang.String name,
StructuralMetadata.EnumType type,
boolean array) |
StructuralMetadata.Property |
addProperty(java.lang.String name,
StructuralMetadata.EnumType type,
boolean array,
java.lang.Integer count) |
void |
addProperty(StructuralMetadata.Property property)
Add a specified property to this class
|
java.lang.String |
getDescription()
The description of the class
|
java.lang.String |
getDisplayName()
The name of the class, used by UI for representation
|
java.lang.String |
getName()
The unique name of the class
|
java.util.List<StructuralMetadata.Property> |
getProperties()
The properties defined in this class.
|
void |
setDescription(java.lang.String value)
The description of the class
|
void |
setDisplayName(java.lang.String value)
The name of the class, used by UI for representation
|
java.lang.String |
toString()
Gets the string representation of this instance.
|
public ClassType(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.util.ArrayList<StructuralMetadata.Property> properties)
name - The unique name of the classdisplayName - The name of the class, used by UI for representationdescription - The description of the classproperties - The properties defined in this classpublic java.lang.String getName()
public java.lang.String getDisplayName()
public void setDisplayName(java.lang.String value)
value - New valuepublic java.lang.String getDescription()
public void setDescription(java.lang.String value)
value - New valuepublic java.util.List<StructuralMetadata.Property> getProperties()
public java.lang.String toString()
toString in class java.lang.Objectpublic StructuralMetadata.Property addProperty(java.lang.String name, StructuralMetadata.EnumType type, boolean array, java.lang.Integer count)
public StructuralMetadata.Property addProperty(java.lang.String name, StructuralMetadata.EnumType type, boolean array)
public StructuralMetadata.Property addProperty(java.lang.String name, java.lang.String displayName, java.lang.String description, StructuralMetadata.EnumType type, boolean array, java.lang.Integer count)
public StructuralMetadata.Property addProperty(java.lang.String name, java.lang.String displayName, java.lang.String description, StructuralMetadata.EnumType type, boolean array)
public StructuralMetadata.Property addProperty(java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.Class<?> type, boolean normalized, java.lang.Integer count)
public StructuralMetadata.Property addProperty(java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.Class<?> type)
public StructuralMetadata.Property addProperty(java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.Class<?> type, boolean normalized)
public StructuralMetadata.Property addProperty(java.lang.String name, java.lang.Class<?> type)
name - Property's nametype - Property's data typepublic void addProperty(StructuralMetadata.Property property)