StructuralMetadata.ClassType

Inheritance: java.lang.Object

public static class StructuralMetadata.ClassType

Class definition in metadata

Constructors

ConstructorDescription
ClassType(String name, String displayName, String description, ArrayList<StructuralMetadata.Property> properties)Constructor of the class definition

Methods

MethodDescription
addProperty(StructuralMetadata.Property property)Add a specified property to this class
addProperty(String name, StructuralMetadata.EnumType type, boolean array)
addProperty(String name, StructuralMetadata.EnumType type, boolean array, Integer count)
addProperty(String name, Class type)Add a new property with specified type
addProperty(String name, String displayName, String description, StructuralMetadata.EnumType type, boolean array)
addProperty(String name, String displayName, String description, StructuralMetadata.EnumType type, boolean array, Integer count)
addProperty(String name, String displayName, String description, Class type)
addProperty(String name, String displayName, String description, Class type, boolean normalized)
addProperty(String name, String displayName, String description, Class type, boolean normalized, Integer count)
equals(Object arg0)
getClass()
getDescription()The description of the class
getDisplayName()The name of the class, used by UI for representation
getName()The unique name of the class
getProperties()The properties defined in this class.
hashCode()
notify()
notifyAll()
setDescription(String value)The description of the class
setDisplayName(String value)The name of the class, used by UI for representation
toString()Gets the string representation of this instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

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:

ParameterTypeDescription
namejava.lang.StringThe unique name of the class
displayNamejava.lang.StringThe name of the class, used by UI for representation
descriptionjava.lang.StringThe description of the class
propertiesjava.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:

ParameterTypeDescription
propertyProperty

addProperty(String name, StructuralMetadata.EnumType type, boolean array)

public StructuralMetadata.Property addProperty(String name, StructuralMetadata.EnumType type, boolean array)

Parameters:

ParameterTypeDescription
namejava.lang.String
typeEnumType
arrayboolean

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:

ParameterTypeDescription
namejava.lang.String
typeEnumType
arrayboolean
countjava.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:

ParameterTypeDescription
namejava.lang.StringProperty’s name
typejava.lang.ClassProperty’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:

ParameterTypeDescription
namejava.lang.String
displayNamejava.lang.String
descriptionjava.lang.String
typeEnumType
arrayboolean

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:

ParameterTypeDescription
namejava.lang.String
displayNamejava.lang.String
descriptionjava.lang.String
typeEnumType
arrayboolean
countjava.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:

ParameterTypeDescription
namejava.lang.String
displayNamejava.lang.String
descriptionjava.lang.String
typejava.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:

ParameterTypeDescription
namejava.lang.String
displayNamejava.lang.String
descriptionjava.lang.String
typejava.lang.Class
normalizedboolean

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:

ParameterTypeDescription
namejava.lang.String
displayNamejava.lang.String
descriptionjava.lang.String
typejava.lang.Class
normalizedboolean
countjava.lang.Integer

Returns: Property

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valuejava.lang.StringNew value

setDisplayName(String value)

public void setDisplayName(String value)

The name of the class, used by UI for representation

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int