org.drools.guvnor.client.rpc
Class MetaData

java.lang.Object
  extended by org.drools.guvnor.client.rpc.MetaData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class MetaData
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

This is the DTO for a versionable asset's meta data. ie basically everything except the payload.


Field Summary
 String[] categories
           
 String coverage
           
 String creator
           
 Date dateEffective
           
 Date dateExpired
           
 boolean disabled
           
 String externalRelation
           
 String externalSource
           
 String format
           
 boolean hasPreceedingVersion
           
 boolean hasSucceedingVersion
           
 String packageName
           
 String packageUUID
           
 String publisher
           
 String rights
           
 String subject
           
 String title
           
 String type
           
 
Constructor Summary
MetaData()
           
 
Method Summary
 void addCategory(String cat)
          Add the given cat to the end of the cat list.
 boolean isBinary()
           
 void removeCategory(int idx)
          Remove a category.
 void setBinary(boolean binary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public String title

packageName

public String packageName

packageUUID

public String packageUUID

categories

public String[] categories

format

public String format

type

public String type

creator

public String creator

externalSource

public String externalSource

subject

public String subject

externalRelation

public String externalRelation

rights

public String rights

coverage

public String coverage

publisher

public String publisher

disabled

public boolean disabled

hasPreceedingVersion

public boolean hasPreceedingVersion

hasSucceedingVersion

public boolean hasSucceedingVersion

dateEffective

public Date dateEffective

dateExpired

public Date dateExpired
Constructor Detail

MetaData

public MetaData()
Method Detail

removeCategory

public void removeCategory(int idx)
Remove a category.

Parameters:
idx - The index of the cat to remove.

addCategory

public void addCategory(String cat)
Add the given cat to the end of the cat list.


setBinary

public void setBinary(boolean binary)

isBinary

public boolean isBinary()


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.