com.aspose.cells
Class ContentTypeProperty

java.lang.Object
    extended by com.aspose.cells.ContentTypeProperty

public class ContentTypeProperty 
extends java.lang.Object

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");


Property Getters/Setters Summary
booleanisNillable()
voidsetNillable(boolean)
           Indicates whether the value could be empty.
java.lang.StringgetName()
voidsetName(java.lang.String)
           Returns or sets the name of the object.
java.lang.StringgetType()
voidsetType(java.lang.String)
           Gets and sets the type of the property.
java.lang.StringgetValue()
voidsetValue(java.lang.String)
           Returns or sets the value of the content type property.
 

Property Getters/Setters Detail

getName/setName

public java.lang.String getName() / public void setName(java.lang.String value)
Returns or sets the name of the object.

setName

public void setName(java.lang.String value)
Returns or sets the name of the object.

getValue/setValue

public java.lang.String getValue() / public void setValue(java.lang.String value)
Returns or sets the value of the content type property.

setValue

public void setValue(java.lang.String value)
Returns or sets the value of the content type property.

getType/setType

public java.lang.String getType() / public void setType(java.lang.String value)
Gets and sets the type of the property.

setType

public void setType(java.lang.String value)
Gets and sets the type of the property.

isNillable/setNillable

public boolean isNillable() / public void setNillable(boolean value)
Indicates whether the value could be empty.

setNillable

public void setNillable(boolean value)
Indicates whether the value could be empty.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.