StructuralMetadata.ClassType
Inheritance: java.lang.Object
public static class StructuralMetadata.ClassType
Class definition in metadata
Constructors
| Constructor | Description |
|---|---|
| ClassType(String name, String displayName, String description, ArrayList<StructuralMetadata.Property> properties) | Constructor of the class definition |
Methods
ClassType(String name, String displayName, String description, ArrayList<StructuralMetadata.Property> properties)
public ClassType(String name, String displayName, String description, ArrayList<StructuralMetadata.Property> properties)
Constructor of the class definition
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | The unique name of the class |
| displayName | java.lang.String | The name of the class, used by UI for representation |
| description | java.lang.String | The description of the class |
| properties | java.util.ArrayList<com.aspose.threed.StructuralMetadata.Property> | The properties defined in this class |
addProperty(StructuralMetadata.Property property)
public void addProperty(StructuralMetadata.Property property)
Add a specified property to this class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| property | Property |
addProperty(String name, StructuralMetadata.EnumType type, boolean array)
public StructuralMetadata.Property addProperty(String name, StructuralMetadata.EnumType type, boolean array)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| type | EnumType | |
| array | boolean |
Returns: Property
addProperty(String name, StructuralMetadata.EnumType type, boolean array, Integer count)
public StructuralMetadata.Property addProperty(String name, StructuralMetadata.EnumType type, boolean array, Integer count)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| type | EnumType | |
| array | boolean | |
| count | java.lang.Integer |
Returns: Property
addProperty(String name, Class type)
public StructuralMetadata.Property addProperty(String name, Class<?> type)
Add a new property with specified type
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | Property’s name |
| type | java.lang.Class | Property’s data type |
Returns: Property
addProperty(String name, String displayName, String description, StructuralMetadata.EnumType type, boolean array)
public StructuralMetadata.Property addProperty(String name, String displayName, String description, StructuralMetadata.EnumType type, boolean array)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| displayName | java.lang.String | |
| description | java.lang.String | |
| type | EnumType | |
| array | boolean |
Returns: Property
addProperty(String name, String displayName, String description, StructuralMetadata.EnumType type, boolean array, Integer count)
public StructuralMetadata.Property addProperty(String name, String displayName, String description, StructuralMetadata.EnumType type, boolean array, Integer count)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| displayName | java.lang.String | |
| description | java.lang.String | |
| type | EnumType | |
| array | boolean | |
| count | java.lang.Integer |
Returns: Property
addProperty(String name, String displayName, String description, Class type)
public StructuralMetadata.Property addProperty(String name, String displayName, String description, Class<?> type)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| displayName | java.lang.String | |
| description | java.lang.String | |
| type | java.lang.Class |
Returns: Property
addProperty(String name, String displayName, String description, Class type, boolean normalized)
public StructuralMetadata.Property addProperty(String name, String displayName, String description, Class<?> type, boolean normalized)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| displayName | java.lang.String | |
| description | java.lang.String | |
| type | java.lang.Class | |
| normalized | boolean |
Returns: Property
addProperty(String name, String displayName, String description, Class type, boolean normalized, Integer count)
public StructuralMetadata.Property addProperty(String name, String displayName, String description, Class<?> type, boolean normalized, Integer count)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String | |
| displayName | java.lang.String | |
| description | java.lang.String | |
| type | java.lang.Class | |
| normalized | boolean | |
| count | java.lang.Integer |
Returns: Property
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDescription()
public String getDescription()
The description of the class
Returns: java.lang.String - The description of the class
getDisplayName()
public String getDisplayName()
The name of the class, used by UI for representation
Returns: java.lang.String - The name of the class, used by UI for representation
getName()
public String getName()
The unique name of the class
Returns: java.lang.String - The unique name of the class
getProperties()
public List<StructuralMetadata.Property> getProperties()
The properties defined in this class.
Returns: java.util.List<com.aspose.threed.StructuralMetadata.Property> - The properties defined in this class.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setDescription(String value)
public void setDescription(String value)
The description of the class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | New value |
setDisplayName(String value)
public void setDisplayName(String value)
The name of the class, used by UI for representation
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | New value |
toString()
public String toString()
Gets the string representation of this instance.
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |