Skip navigation links


com.fatwire.assetapi.def
Class AssetTypeDefProperties

java.lang.Object
  extended by com.fatwire.assetapi.def.AssetTypeDefProperties


public final class AssetTypeDefProperties
extends java.lang.Object

This class hosts properties associated with an asset type definition.


Constructor Summary
AssetTypeDefProperties()
           

 

Method Summary
 boolean getCanAddSubtypes()
          Indicates if this asset type can have subtypes
 boolean getIsAssetmakerAsset()
          Indicates if this asset type is an asset maker asset type
 boolean getIsCoreAsset()
          Indicates if this asset type is a core asset type.
 boolean getIsFlexAsset()
          Indicates if this asset type is a flex asset
 boolean getIsNameMustUnique()
          Indicates if the name for this type has to be unique
 boolean isCanPreview()
          whether or not the asset type is previewable
 void setCanAddSubtypes(boolean bCanAddSubtypes)
          Sets/resets whether this type can or can not have subtypes.
 void setCanPreview(boolean canPreview)
          set canPreview
 void setIsAssetmakerAsset(boolean bIsAssetmakerAsset)
          Sets the asset maker asset type information for this asset type
 void setIsCoreAsset(boolean bIsCoreAsset)
          Sets the type of this asset type (core or not).
 void setIsFlexAsset(boolean bIsFlexAsset)
          Sets the asset type to be or not to be a flex asset
 void setIsNameMustUnique(boolean bIsNameMustUnique)
          Sets the asset type to have unique name or to not have unqiue name

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AssetTypeDefProperties

public AssetTypeDefProperties()

Method Detail

isCanPreview

public boolean isCanPreview()
whether or not the asset type is previewable
Returns:

setCanPreview

public void setCanPreview(boolean canPreview)
set canPreview
Parameters:
canPreview -

getIsCoreAsset

public boolean getIsCoreAsset()
Indicates if this asset type is a core asset type.
Returns:
returns true, if the asset type is core asset type; false, if not.

setIsCoreAsset

public void setIsCoreAsset(boolean bIsCoreAsset)
Sets the type of this asset type (core or not).
Parameters:
bIsCoreAsset - true indicates this asset type is core asset type. false indicates otherwise.

getCanAddSubtypes

public boolean getCanAddSubtypes()
Indicates if this asset type can have subtypes
Returns:
returns true, if this asset type can have subtypes; false if it can not

setCanAddSubtypes

public void setCanAddSubtypes(boolean bCanAddSubtypes)
Sets/resets whether this type can or can not have subtypes.
Parameters:
bCanAddSubtypes - true indicates this asset type could have subtypes added. false indicates this asset type could not have subtypes added.

getIsAssetmakerAsset

public boolean getIsAssetmakerAsset()
Indicates if this asset type is an asset maker asset type
Returns:
returns true, if this asset type is an asset maker asset type; false, if this asset type is not an asset maker asset type

setIsAssetmakerAsset

public void setIsAssetmakerAsset(boolean bIsAssetmakerAsset)
Sets the asset maker asset type information for this asset type
Parameters:
bIsAssetmakerAsset - true indicates this asset type is an asset maker asset; false indicates this asset type is not an asset make asset.

getIsFlexAsset

public boolean getIsFlexAsset()
Indicates if this asset type is a flex asset
Returns:
returns true, if this asset type is a flex asset; false, if this asset type is not a flex asset

setIsFlexAsset

public void setIsFlexAsset(boolean bIsFlexAsset)
Sets the asset type to be or not to be a flex asset
Parameters:
bIsFlexAsset - true indicates this asset type is a flex asset; false indicates this asset type is not a flex asset

getIsNameMustUnique

public boolean getIsNameMustUnique()
Indicates if the name for this type has to be unique
Returns:
returns true, if this asset type requires unique name; false, if this asset type does not require unique name

setIsNameMustUnique

public void setIsNameMustUnique(boolean bIsNameMustUnique)
Sets the asset type to have unique name or to not have unqiue name
Parameters:
bIsNameMustUnique - true indicates this asset type requires unique name; false indicates this asset type does not require unique name

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.