站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

RepositoryBean (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.resource
Class RepositoryBean

java.lang.Object
  extended by org.drools.resource.RepositoryBean

public class RepositoryBean
extends Object

The repository elements that can be referenced via URL will typically have several attributes including a unique URL, resource type, name, version and of course content. This meta-data object just describes what the URL resource is. Single Rules, DRLs, functions, DSLs and spreadsheets all need to be supported.

Author:
James Williams (james.williams@redhat.com)

Constructor Summary
RepositoryBean()
           
 
Method Summary
 String getName()
           
 String getResourceContent()
           
 ResourceType getResourceType()
           
 String getVersion()
           
 long getVersionInLong()
           
 void setName(String name)
           
 void setResourceContent(String resourceContent)
           
 void setResourceType(ResourceType resourceType)
           
 void setVersion(long version)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryBean

public RepositoryBean()
Method Detail

getResourceContent

public String getResourceContent()

setResourceContent

public void setResourceContent(String resourceContent)

getName

public String getName()

setName

public void setName(String name)

getResourceType

public ResourceType getResourceType()

setResourceType

public void setResourceType(ResourceType resourceType)

getVersion

public String getVersion()

getVersionInLong

public long getVersionInLong()

setVersion

public void setVersion(long version)

setVersion

public void setVersion(String version)


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