ContentTypeProperty

ContentTypeProperty class

Represents identifier information.

class ContentTypeProperty;

Properties

PropertyTypeDescription
namestringReturns or sets the name of the object.
valuestringReturns or sets the value of the content type property.
typestringGets and sets the type of the property.
isNillablebooleanIndicates whether the value could be empty.

Methods

MethodDescription
getName()@deprecated. Please use the ’name’ property instead. Returns or sets the name of the object.
setName(string)@deprecated. Please use the ’name’ property instead. Returns or sets the name of the object.
getValue()@deprecated. Please use the ‘value’ property instead. Returns or sets the value of the content type property.
setValue(string)@deprecated. Please use the ‘value’ property instead. Returns or sets the value of the content type property.
getType()@deprecated. Please use the ’type’ property instead. Gets and sets the type of the property.
setType(string)@deprecated. Please use the ’type’ property instead. Gets and sets the type of the property.
isNillable()@deprecated. Please use the ‘isNillable’ property instead. Indicates whether the value could be empty.
setIsNillable(boolean)@deprecated. Please use the ‘isNillable’ property instead. Indicates whether the value could be empty.
isNull()Checks whether the implementation object is null.

name

Returns or sets the name of the object.

name : string;

value

Returns or sets the value of the content type property.

value : string;

type

Gets and sets the type of the property.

type : string;

isNillable

Indicates whether the value could be empty.

isNillable : boolean;

getName()

@deprecated. Please use the ’name’ property instead. Returns or sets the name of the object.

getName() : string;

setName(string)

@deprecated. Please use the ’name’ property instead. Returns or sets the name of the object.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getValue()

@deprecated. Please use the ‘value’ property instead. Returns or sets the value of the content type property.

getValue() : string;

setValue(string)

@deprecated. Please use the ‘value’ property instead. Returns or sets the value of the content type property.

setValue(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getType()

@deprecated. Please use the ’type’ property instead. Gets and sets the type of the property.

getType() : string;

setType(string)

@deprecated. Please use the ’type’ property instead. Gets and sets the type of the property.

setType(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNillable()

@deprecated. Please use the ‘isNillable’ property instead. Indicates whether the value could be empty.

isNillable() : boolean;

setIsNillable(boolean)

@deprecated. Please use the ‘isNillable’ property instead. Indicates whether the value could be empty.

setIsNillable(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;