ContentTypeProperty

Inheritance: java.lang.Object

public class ContentTypeProperty

Represents identifier information.

Example

         //Instantiating a Workbook object
         Workbook workbook = new Workbook();
         //Add a new property.
          workbook.getContentTypeProperties().add("Admin", "Aspose", "text");
         //Save the Excel file
         workbook.save("book1.xlsm");

Methods

MethodDescription
equals(Object arg0)
getClass()
getName()Returns or sets the name of the object.
getType()Gets the type of the property.
getValue()Returns or sets the value of the content type property.
hashCode()
isNillable()Indicates whether the value could be empty.
notify()
notifyAll()
setName(String value)Returns or sets the name of the object.
setNillable(boolean value)Indicates whether the value could be empty.
setType(String value)Sets the type of the property.
setValue(String value)Returns or sets the value of the content type property.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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

getName()

public String getName()

Returns or sets the name of the object.

Returns: java.lang.String

getType()

public String getType()

Gets the type of the property.

Returns: java.lang.String

getValue()

public String getValue()

Returns or sets the value of the content type property.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

isNillable()

public boolean isNillable()

Indicates whether the value could be empty.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setName(String value)

public void setName(String value)

Returns or sets the name of the object.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setNillable(boolean value)

public void setNillable(boolean value)

Indicates whether the value could be empty.

Parameters:

ParameterTypeDescription
valueboolean

setType(String value)

public void setType(String value)

Sets the type of the property.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setValue(String value)

public void setValue(String value)

Returns or sets the value of the content type property.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int