public abstract class FlyWeightWithDescription extends FlyWeight
public class Property extends FlyWeightWithDescription { public final static Property RO = new Property( "RO", "Read Only" ); public final static Property MV = new Property( "MV", "Multi Value" ); private Property ( final Serializable id, final String description ) { super( id, description ); } }
Created 20. Januar 2003
Modifier | Constructor and Description |
---|---|
protected |
FlyWeightWithDescription(Serializable id,
String description,
boolean ignoreDuplicateRegistration)
Construct instance of a flyweight with description.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get description of the flyweight instance.
|
String |
toString()
Get descriptive text for this flyweight instance.
|
clone, equals, getAllFlyWeights, getAllFlyWeightsInherited, getFlyWeight, getFlyWeightId, getFlyWeightInherited, hashCode, removeAllFlyWeights, removeAllFlyWeightsInherited, removeFlyWeight, removeFlyWeightInherited
protected FlyWeightWithDescription(Serializable id, String description, boolean ignoreDuplicateRegistration)
id
- flyweight iddescription
- flyweight descriptionignoreDuplicateRegistration
- when true, don't throw
IllegalArgumentException exception when the id is already in usepublic String getDescription()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice